﻿<%@ Page Language="C#" MasterPageFile="~/Admin/PH_Admin.master" AutoEventWireup="true" CodeFile="sanphamtheoDN.aspx.cs" Inherits="sanphamtheoDN" Title="Untitled Page" %>

<%@ Register Assembly="HighslideImage" Namespace="Encosia" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
Tên Sản Phẩm :<asp:TextBox ID="txt_tensp" runat="server"></asp:TextBox>
    <asp:Button ID="btn_Timkiem" runat="server" Text="Tìm kiếm" OnClick="btn_Timkiem_Click" />
    <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
        <HeaderTemplate>
            <table width="100%" style="border-style: dotted;" border="2px">
                <tr>
                    <td>
                        Mã sản phẩm</td>
                    <td>
                        Tên sản phẩm</td>
                    <td>
                        Đặc điểm</td>
                    <td>
                        Giá bán</td>
                    <td>
                        Số lượng</td>
                    <td>
                        Hình ảnh</td>
                    <td>
                        Tên loại</td>
                    <td>
                        Ngày nhập về
                    </td>
                    <td>
                        Sản phẩm đặc biệt</td>
                    <td>
                        Tên doanh nghiệp</td>
                    <td>
                        Tỉnh thành</td>
                    <td>
                        Giá gốc</td>
                    <td>
                        Giảm giá</td>
                    <td>
                        Trạng thái</td>
                    <td>
                        Sửa</td>
                    <td>
                        <input id="cb_All" type="checkbox" onclick="CheckAll(1);" />
                        <a href="javascript:CheckAll(2)">Chọn hết</a>
                    </td>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td>
                    <asp:Literal ID="lit_Ma" runat="server" />
                </td>
                <td>
                    <asp:HyperLink ID="hyp_ten" runat="server"></asp:HyperLink></td>
                <td>
                    <%#Eval("dacdiem") %>
                </td>
                <td>
                    <%#Eval("giaban")%>
                </td>
                <td>
                    <%#Eval("soluongmax")%>
                </td>
                <td>
                    <cc1:HighslideManager ID="HighslideManager1" runat="server">
                    </cc1:HighslideManager>
                    <cc1:HighslideImage ID="img_hinh" runat="server" Width="70px" Height="70px" />
                </td>
                <td>
                    <asp:Literal ID="lt_tenloai" runat="server"></asp:Literal>
                </td>
                <td>
                    <%#Eval("ngaybatdau")%>
                </td>
                <td>
                    <%#Eval("ngayketthuc")%>
                </td>
                <td>
                    <asp:HyperLink ID="hp_tendn" runat="server">HyperLink</asp:HyperLink>
                </td>
                <td>
                    <asp:Literal ID="lt_tinhthanh" runat="server"></asp:Literal>
                </td>
                <td>
                    <%#Eval("giagoc")%>
                </td>
                <td>
                    <%#Eval("chietkhau")%>
                </td>
                <td>
                    <asp:Literal ID="lt_trangthai" runat="server"></asp:Literal></td>
                <td>
                    <asp:HyperLink ID="hpl_Edit" runat="server">Edit</asp:HyperLink></td>
                <td>
                    <asp:CheckBox ID="cb_Xoa" runat="server" />
                    <asp:HiddenField ID="hf_id" runat="server" />
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            <tr>
                <td colspan="16" align="right">
                    <asp:Button ID="btn_xoa" runat="server" Text="Xóa" OnClick="btn_xoa_Click" />
                </td>
            </tr>
            </table>
        </FooterTemplate>
    </asp:Repeater>
</asp:Content>

